package com.vlin.controller.scene;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

import com.vlin.entity.scene.DefaultScene;
import com.vlin.scene.actuator.SceneActuator;
import com.vlin.service.scene.SceneService;

@RestController
public class SceneController implements SceneService {

	@Autowired
	private SceneActuator sceneActuator;

	@Override
	public String executeDefaultScene(DefaultScene scene) {

		sceneActuator.execute(scene);
		return null;
	}

}
